package com.lagou.ex.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class HelloController {

    @RequestMapping("/")
    public String index() {
        System.out.println("首页访问");
        return "index";
    }

    @RequestMapping("/login")
    public String login() {
        System.out.println("访问登录页面");
        return "login";
    }

    @RequestMapping("/resume")
    public String resume() {
        System.out.println("简历页面访问");
        return "resume";
    }

}
